﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Bmz.Studio.Phone.Application
{
    public class TeamMemberService : ITeamMemberService
    {
        public List<TeamMemberViewModel> GetList()
        {
            List<TeamMemberViewModel> result = new List<TeamMemberViewModel>();
            for (int i = 1; i <= 10; i++)
            {
                result.Add(new TeamMemberViewModel()
                {
                    Id = i,
                    ImageUrl = "~/Content/images/custome/zhangxl.png",
                    ChineseName = "张晓亮",
                    EnglishName = "David.Zhang",
                    Education = "本科",
                    Birthday = new DateTime(1987, 01, 03),
                    Introduce = "我看你骨骼惊奇，天生有帝王之相，将来一定是大富大贵之人，前途无量。",
                    Sex = "男",
                    University = "贵州大学"
                });
            }
            return result;
        }

        public TeamMemberViewModel GetModel(int id)
        {
            TeamMemberViewModel result = new TeamMemberViewModel()
            {
                Id = id,
                ImageUrl = "~/Content/images/custome/zhangxl.png",
                ChineseName = "张晓亮",
                EnglishName = "David.Zhang",
                Education = "本科",
                Birthday = new DateTime(1987, 01, 03),
                Introduce = "我看你骨骼惊奇，天生有帝王之相，将来一定是大富大贵之人，前途无量。",
                Sex = "男",
                University = "贵州大学"
            };
            return result;
        }
    }
}